#ifndef BATCHCHECKINREQUEST_H
#define BATCHCHECKINREQUEST_H

#include "BaseRequest.h"


struct BatchCheckInPcuInfo
{
    QString locationNo;
    QString pcu;
};

class BatchCheckInRequest:public BaseRequest
{
public:
    BatchCheckInRequest()=default;
    BatchCheckInRequest(const QString& factoryNo,
                        const QString& transId,
                        const QString& eventTime,
                        const QString& eventUser,
                        const QString& machineNo,
                        const QString& batch,
                        const QList<BatchCheckInPcuInfo>& pcuInfo);
    // BaseRequest interface
    QByteArray toJson() const override;
    QString getEndPoint() const override;

public:
    QString factoryNo;
    QString transId;
    QString eventTime;
    QString eventUser;
    QString machineNo;
    QString batch;
    QList<BatchCheckInPcuInfo> pcuInfo;

};



#endif // BATCHCHECKINREQUEST_H
